package com.company.project.dao;

import com.company.project.core.Mapper;
import com.company.project.core.Result;
import com.company.project.model.OrderMain;
import com.company.project.model.request.QueryParams;
import org.apache.ibatis.annotations.Param;

import java.beans.Transient;
import java.util.List;

public interface OrderMainMapper extends Mapper<OrderMain> {
    Integer selectPayCount();
    Integer selectFinishCount();

    List<OrderMain> getOrderList(@Param("item") QueryParams queryParams);

    Integer getOrderListTotal(@Param("item") QueryParams queryParams);

    List<OrderMain> getList(@Param("id") Integer shopId);
}
